﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Default.Master" Inherits="System.Web.Mvc.ViewPage<WebStickyNotes.Models.DeleteTaskPersonModel>" %>
<%@ Import Namespace="WebStickyNotes.Resources" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= Labels.PageTitleEditPerson %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <article>
        <header>
            <h2><%= Labels.PageTitleEditPerson%></h2>
        </header>
        <section>
            <% Html.RenderPartial("Message", Model.Message); %>
            <% using (Html.BeginForm())
               { %>
            <input type="hidden" name="id" value="<%= Model.Person.Id %>" />
            <input type="hidden" name="confirm" value="true" />
            <p><%= Model.Person.FirstName %> <%= Model.Person.LastName %></p>
            <% if (Model.ShowButton)
                   { %>
            <input type="submit" value="Delete" />
            <%     }%>
            <% }%>
        </section>
    </article>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
